home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-MIPS / INIT.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  781b  |  31 lines

  1. /*
  2.  * include/asm-mips/init.h
  3.  *
  4.  * This file is subject to the terms and conditions of the GNU General Public
  5.  * License.  See the file "COPYING" in the main directory of this archive
  6.  * for more details.
  7.  *
  8.  * $Id: init.h,v 1.3 1998/05/01 01:35:53 ralf Exp $
  9.  */
  10. #ifndef __MIPS_INIT_H
  11. #define __MIPS_INIT_H
  12.  
  13. #define __init __attribute__ ((__section__ (".text.init")))
  14. #define __initdata __attribute__ ((__section__ (".data.init")))
  15. #define __initfunc(__arginit) \
  16.     __arginit __init; \
  17.     __arginit
  18.  
  19. #if __GNUC__ >= 2 && __GNUC_MINOR__ >= 8
  20. #define __initlocaldata  __initdata
  21. #else
  22. #define __initlocaldata
  23. #endif
  24.  
  25. /* For assembly routines */
  26. #define __INIT        .section    .text.init,"ax"
  27. #define __FINIT        .previous
  28. #define __INITDATA    .section    .data.init,"a"
  29.  
  30. #endif /* __MIPS_INIT_H */
  31.